package com.aaa.dao;

import com.aaa.entity.ZcglPrivate;
import com.aaa.entity.ZcglPrivateland;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (ZcglPrivateland)表数据库访问层
 *
 * @author makejava
 * @since 2021-01-30 14:15:54
 */
@Mapper
@Repository
public interface ZcglPrivatelandDao extends BaseMapper<ZcglPrivateland> {


    List<ZcglPrivate> selectOneByAsset(String assetNumber);

    boolean delByassetNumber(String assetNumber);

    int addPrivate(ZcglPrivate add);

    int addHouse(ZcglPrivate add);

    int updatePrivate(ZcglPrivate update);

    int updateHouse(ZcglPrivate update);
}